require 'watir'
include Watir
require 'test/unit'
require 'test/unit/ui/console/testrunner'
require 'watir/testUnitAddons'
require 'watir/testcase'
require 'watir/contrib/enabled_popup'

class TC_Admin < Test::Unit::TestCase
  def test_10
    $ie.goto($UniVar)
    $ie.refresh()
    $ie.refresh()

    $ie.link(:text, 'Control Panel').click
    $ie.link(:text, 'Administration').click
    $ie.table(:index, 9).click
    $ie.link(:index, 15).click
    $ie.text_field(:index, 1).value = "ztemp"
    $ie.text_field(:index, 2).value = "temper"
    $ie.text_field(:index, 3).value = "temper"
    $ie.text_field(:index, 4).value = "temp@telligent.com"    
    $ie.link(:text, 'Create User').click

    $ie.link(:index, 14).click
    $ie.table(:index, 41).click
    $ie.table(:index, 41).click
    $ie.link(:text, 'Actions').click
    $ie.divs.each do |i|
      begin
      i.flash
    end
  end
  

  end
end